<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@include file="/pages/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
	<title>广东工业大学招生办-专题页面</title>
	<link rel="stylesheet" type="text/css" href="${ctx }/css/reset.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/common.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/home.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/page.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/project_add.css" />
	<script type="text/javascript" src="${ctx }/js/showTime.js"></script>
			 <script src="${ctx}/js/jquery-page.js" type="text/javascript"></script>
	<script src="${ctx }/js/table.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$(".list-time").each(function(){
				//alert($(this).html());
				$(this).html($(this).html().substr(0, 10));	
			});
		});
	</script>
	<script language="javascript">
	  function check(){
		  var key=document.getElementById("keyword");
		  if(key.value==""){
			  alter("请输入搜索内容");
			  return false;
		  }
		  return true;
	  }
	</script>
	<style>
	.list-title{
		width:200px;
	}
	.linkBg{
		background:#FF5809;
		width:100px;
	}
	.lists-title{
		top:10px;
	}
	</style>
</head>
<body>

	<div class="wrapper">
		<jsp:include page="../../../header.jsp" flush="true" /> 

		<!--main-content-->
		<div id="main-content-child-page" class="w960 auto">
			<!--Breadcrumb Trail-->
			<div class="breadcurmb-trail mt5 mb10">
				您的位置：<a href="${ctx }/index.html">网站首页</a>-专题页面
			</div>
			<div class="content clearfix">
				<div class="l list-title f20">
					${attachmentName }
				</div>
				<%-- <div class="l rel lists-title">
					<a href="${ctx }/base/special-article!artShow.action" >${specialName} </a>  
					&nbsp;
					<a href="${ctx }/base/special-article!attShow.action" class="linkBg white">${attachmentName}</a>	
					&nbsp;
					<a href="${ctx }/base/special-article!siteShow.action">${siteName}</a>
					</div> --%>
				<div class="clearfix"></div>
				<div class="content-pic"></div>
				
				<form name="search" id="search" class="search r" method="post" action="${ctx}/base/special-article!attShow.action" style="margin-top:-20px" onsubmit="return check()">
					<input type="text" id="keyword" name="keyword" value="${keyword }" />
					<input type="hidden" name="spec_id" value="${spec_id }"/>
					<input class="academy-analogy_buttom academy-analogy_buttom_add" type="submit" name="" value="搜索"/>
				</form>
				<form action="${ctx }/base/special-article!attShow.action" method="post" id="mainForm" name="form">
					<input type="hidden" name="page.pageNo" id="pageNo" value="${page.pageNo}"/>
					<input type="hidden" name="spec_id" value="${spec_id }"/>	
						<input type="hidden" id="keyword" name="keyword" value="${keyword }" />
					<div class="content-list rel f14 clearfix">
						<ul>
						<s:iterator value="attachmentPage.result">
							<li><img src="${ctx }/images/home_point3.png" class="li-point" /><a href="${ctx }/upload/${url}" title="${title}"> ${title}</a><span class="list-time">${inputTime }</span></li>
						</s:iterator>
						</ul>
					</div>
					<div class="next-page tc f14 mt40 pb20">
						<a href="javascript:jumpPage(1)">首页</a>
	          			 <s:if test="attachmentPage.hasPre"><a href="javascript:jumpPage(${attachmentPage.prePage})">上一页</a></s:if>
	        			 <s:if test="attachmentPage.hasNext"><a href="javascript:jumpPage(${attachmentPage.nextPage})">下一页</a></s:if>
	            		<a href="javascript:jumpPage(${attachmentPage.totalPages})">尾页</a>
						当前第${attachmentPage.pageNo}页
						共${attachmentPage.totalPages}页
					</div>
				</form>
			</div>
		</div>
	<jsp:include page="../../../footer.jsp" flush="true" /> 
	</div>	
	</body>
</html>